package com.adcc.eoss.cawebservice.domain;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;

@Repository
public class UserRepository {

	protected final Logger log = LoggerFactory.getLogger(getClass());

	@Autowired
	protected JdbcTemplate jdbc;

	@SuppressWarnings("deprecation")
	public int getItem() {
		return jdbc.queryForInt("SELECT COUNT(*) FROM t_core_file");
	}

}